package com.wtf.dsp.admin.mapper;

import com.wtf.dsp.admin.entity.WtfDspDatasource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtf.dsp.admin.model.dto.DsAddDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author wtf
 * @email 496558736@qq.com
 * @date 2024-03-06 15:25:42
 */
@Mapper
public interface WtfDspDatasourceMapper extends BaseMapper<WtfDspDatasource> {

    List<WtfDspDatasource> loadDataSource();

    WtfDspDatasource getDataSource(@Param("ns") String ns, @Param("ds") String ds);
}
